package com.shoulei.designpattern.bridgePattern;

import sun.security.provider.SHA;

/**
 * @ClassName:Circle
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/3/31 22:25
 * @Verson:
 */
public class Circle extends Shape {

    private int radius,x,y;

    public Circle(DrawAPI drawAPI, int radius, int x, int y) {
        super(drawAPI);
        this.radius = radius;
        this.x = x;
        this.y = y;
    }

    @Override
    public void draw() {
        drawAPI.drawCircle(radius,x,y);
    }
}
